package org.springblade.modules.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.repair.entity.BusinessApprove;
import org.springblade.modules.repair.vo.BusinessApprovePageVO;

import java.util.List;
import java.util.Map;

public interface BusinessApproveMapper extends BaseMapper<BusinessApprove> {
    List<BusinessApprovePageVO> page(@Param("businessApprove") BusinessApprove businessApprove, IPage<BusinessApprovePageVO> page);

	/**
	 * 报障审批分页
	 * @param param
	 * @param page
	 * @return
	 */
    List<Map<String, Object>> malfunctionPage(@Param("param") Map<String, Object> param, IPage<Map<String, Object>> page);
}
